package cn.edu.lingnan.common;

public class Code {
    //登陆成功
    public static final Integer login_ok=20001;
    //插入成功
    public static final Integer SAVE_OK = 20011;
    //删除成功
    public static final Integer DELETE_OK = 20021;
    //更新或修改成功
    public static final Integer UPDATE_OK = 20031;
    //返回数据成功，一般是查询
    public static final Integer GET_OK = 20041;

    public static final Integer login_err = 20000;
    public static final Integer SAVE_ERR = 20010;
    public static final Integer DELETE_ERR = 20020;
    public static final Integer UPDATE_ERR = 20030;
    public static final Integer GET_ERR = 20040;

    public static final Integer SYSTEM_ERR = 50001;
    public static final Integer SYSTEM_TIMEOUT_ERR = 50002;
    public static final Integer SYSTEM_UNKNOW_ERR = 59999;

    public static final Integer BUSINESS_ERR = 60002;

}
